package com.cn.ant.modules.score.entity;

import org.hibernate.validator.constraints.Length;

import com.cn.ant.common.persistence.MyDataEntity;

/**
 * 学校同位分Entity
 * @author 黄根华
 * @version 2015-10-09
 */
public class SchoolTwfInfo extends MyDataEntity<SchoolTwfInfo> {
	
	private static final long serialVersionUID = 1L;
	private String schoolCode;		// 学校编码
	private String schoolCodeSn;		// 学校编码
	private String schoolName;		//学校名称
	private String batchLevel;		// 批次
	private String kemuType;		// 科目类别
	private int year;//年份
	private Double min1;		// 近三年最低同位分中的最小值
	private Double min2;		// 近三年最低同位分中的中间值
	private Double min3;		// 近三年最低同位分中的最大值
	private Double avg1;		// 近三年平均同位分中的最小值
	private Double avg2;		// 近三年平均同位分中的中间值
	private Double avg3;		// 近三年平均同位分中的最大值
	private Double max1;		// 近三年最高同位分中的最小值
	private Double max2;		// 近三年最高同位分中的中间值
	private Double max3;		// 近三年最高同位分中的最大值
	private String province;		// 省份

	private String provinceName;
	
	public SchoolTwfInfo() {
		super();
	}

	public SchoolTwfInfo(String id){
		super(id);
	}

	@Length(min=0, max=20, message="学校编码长度必须介于 0 和 20 之间")
	public String getSchoolCode() {
		return schoolCode;
	}

	public void setSchoolCode(String schoolCode) {
		this.schoolCode = schoolCode;
	}

	public String getSchoolCodeSn() {
		return schoolCodeSn;
	}

	public void setSchoolCodeSn(String schoolCodeSn) {
		this.schoolCodeSn = schoolCodeSn;
	}

	@Length(min=0, max=20, message="批次长度必须介于 0 和 20 之间")
	public String getBatchLevel() {
		return batchLevel;
	}

	public void setBatchLevel(String batchLevel) {
		this.batchLevel = batchLevel;
	}
	
	@Length(min=0, max=20, message="科目类别长度必须介于 0 和 20 之间")
	public String getKemuType() {
		return kemuType;
	}

	public void setKemuType(String kemuType) {
		this.kemuType = kemuType;
	}
	
	public Double getMin1() {
		return min1;
	}

	public void setMin1(Double min1) {
		this.min1 = min1;
	}
	
	public Double getMin2() {
		return min2;
	}

	public void setMin2(Double min2) {
		this.min2 = min2;
	}
	
	public Double getMin3() {
		return min3;
	}

	public void setMin3(Double min3) {
		this.min3 = min3;
	}
	
	public Double getAvg1() {
		return avg1;
	}

	public void setAvg1(Double avg1) {
		this.avg1 = avg1;
	}
	
	public Double getAvg2() {
		return avg2;
	}

	public void setAvg2(Double avg2) {
		this.avg2 = avg2;
	}
	
	public Double getAvg3() {
		return avg3;
	}

	public void setAvg3(Double avg3) {
		this.avg3 = avg3;
	}
	
	public Double getMax1() {
		return max1;
	}

	public void setMax1(Double max1) {
		this.max1 = max1;
	}
	
	public Double getMax2() {
		return max2;
	}

	public void setMax2(Double max2) {
		this.max2 = max2;
	}
	
	public Double getMax3() {
		return max3;
	}

	public void setMax3(Double max3) {
		this.max3 = max3;
	}
	
	@Length(min=0, max=32, message="省份长度必须介于 0 和 32 之间")
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}
}